<template>
	<div class="back" :class="[`back-${bg}`]"></div>
</template>

<script>
	export default {
		name: 'hcj-background',
		props: {
			bg: {
				type: String,
				default: 'bg1'
			}
		},
		data() {
			return {}
		}
	}
</script>

<style scoped>
	* {
		padding: 0;
		margin: 0;
	}

	.back {
		width: 100%;
		height: 100%;
		z-index: -1;
		border-radius: inherit;
	}

	.back-bg1 {
		width: 100%;
		height: 100%;
		background-color: #fff;
		background-image:
			linear-gradient(90deg, transparent 79px, #abced4 79px, #abced4 81px, transparent 81px),
			linear-gradient(#eee .1em, transparent .1em);
		background-size: 100% 1.2em;
	}

	.back-bg2 {
		width: 100%;
		height: 100%;
		background-color: #026873;
		background-image: linear-gradient(90deg, rgba(255, 255, 255, .07) 50%, transparent 50%),
			linear-gradient(90deg, rgba(255, 255, 255, .13) 50%, transparent 50%),
			linear-gradient(90deg, transparent 50%, rgba(255, 255, 255, .17) 50%),
			linear-gradient(90deg, transparent 50%, rgba(255, 255, 255, .19) 50%);
		background-size: 13px, 29px, 37px, 53px;
	}

	.back-bg3 {
		width: 100%;
		height: 100%;
		background:
			radial-gradient(black 3px, transparent 4px),
			radial-gradient(black 3px, transparent 4px),
			linear-gradient(#fff 4px, transparent 0),
			linear-gradient(45deg, transparent 74px, transparent 75px, #a4a4a4 75px, #a4a4a4 76px, transparent 77px, transparent 109px),
			linear-gradient(-45deg, transparent 75px, transparent 76px, #a4a4a4 76px, #a4a4a4 77px, transparent 78px, transparent 109px),
			#fff;
		background-size: 109px 109px, 109px 109px, 100% 6px, 109px 109px, 109px 109px;
		background-position: 54px 55px, 0px 0px, 0px 0px, 0px 0px, 0px 0px;
	}

	.back-bg4 {
		width: 100%;
		height: 100%;
		background-color: hsl(34, 53%, 82%);
		background-image: repeating-linear-gradient(45deg, transparent 5px, hsla(197, 62%, 11%, 0.5) 5px, hsla(197, 62%, 11%, 0.5) 10px,
				hsla(5, 53%, 63%, 0) 10px, hsla(5, 53%, 63%, 0) 35px, hsla(5, 53%, 63%, 0.5) 35px, hsla(5, 53%, 63%, 0.5) 40px,
				hsla(197, 62%, 11%, 0.5) 40px, hsla(197, 62%, 11%, 0.5) 50px, hsla(197, 62%, 11%, 0) 50px, hsla(197, 62%, 11%, 0) 60px,
				hsla(5, 53%, 63%, 0.5) 60px, hsla(5, 53%, 63%, 0.5) 70px, hsla(35, 91%, 65%, 0.5) 70px, hsla(35, 91%, 65%, 0.5) 80px,
				hsla(35, 91%, 65%, 0) 80px, hsla(35, 91%, 65%, 0) 90px, hsla(5, 53%, 63%, 0.5) 90px, hsla(5, 53%, 63%, 0.5) 110px,
				hsla(5, 53%, 63%, 0) 110px, hsla(5, 53%, 63%, 0) 120px, hsla(197, 62%, 11%, 0.5) 120px, hsla(197, 62%, 11%, 0.5) 140px),
			repeating-linear-gradient(135deg, transparent 5px, hsla(197, 62%, 11%, 0.5) 5px, hsla(197, 62%, 11%, 0.5) 10px,
				hsla(5, 53%, 63%, 0) 10px, hsla(5, 53%, 63%, 0) 35px, hsla(5, 53%, 63%, 0.5) 35px, hsla(5, 53%, 63%, 0.5) 40px,
				hsla(197, 62%, 11%, 0.5) 40px, hsla(197, 62%, 11%, 0.5) 50px, hsla(197, 62%, 11%, 0) 50px, hsla(197, 62%, 11%, 0) 60px,
				hsla(5, 53%, 63%, 0.5) 60px, hsla(5, 53%, 63%, 0.5) 70px, hsla(35, 91%, 65%, 0.5) 70px, hsla(35, 91%, 65%, 0.5) 80px,
				hsla(35, 91%, 65%, 0) 80px, hsla(35, 91%, 65%, 0) 90px, hsla(5, 53%, 63%, 0.5) 90px, hsla(5, 53%, 63%, 0.5) 110px,
				hsla(5, 53%, 63%, 0) 110px, hsla(5, 53%, 63%, 0) 140px, hsla(197, 62%, 11%, 0.5) 140px, hsla(197, 62%, 11%, 0.5) 160px);
	}

	.back-bg5 {
		width: 100%;
		height: 100%;
		background-color: hsl(2, 57%, 40%);
		background-image: repeating-linear-gradient(transparent, transparent 50px, rgba(0, 0, 0, .4) 50px, rgba(0, 0, 0, .4) 53px, transparent 53px, transparent 63px, rgba(0, 0, 0, .4) 63px, rgba(0, 0, 0, .4) 66px, transparent 66px, transparent 116px, rgba(0, 0, 0, .5) 116px, rgba(0, 0, 0, .5) 166px, rgba(255, 255, 255, .2) 166px, rgba(255, 255, 255, .2) 169px, rgba(0, 0, 0, .5) 169px, rgba(0, 0, 0, .5) 179px, rgba(255, 255, 255, .2) 179px, rgba(255, 255, 255, .2) 182px, rgba(0, 0, 0, .5) 182px, rgba(0, 0, 0, .5) 232px, transparent 232px),
			repeating-linear-gradient(270deg, transparent, transparent 50px, rgba(0, 0, 0, .4) 50px, rgba(0, 0, 0, .4) 53px, transparent 53px, transparent 63px, rgba(0, 0, 0, .4) 63px, rgba(0, 0, 0, .4) 66px, transparent 66px, transparent 116px, rgba(0, 0, 0, .5) 116px, rgba(0, 0, 0, .5) 166px, rgba(255, 255, 255, .2) 166px, rgba(255, 255, 255, .2) 169px, rgba(0, 0, 0, .5) 169px, rgba(0, 0, 0, .5) 179px, rgba(255, 255, 255, .2) 179px, rgba(255, 255, 255, .2) 182px, rgba(0, 0, 0, .5) 182px, rgba(0, 0, 0, .5) 232px, transparent 232px),
			repeating-linear-gradient(125deg, transparent, transparent 2px, rgba(0, 0, 0, .2) 2px, rgba(0, 0, 0, .2) 3px, transparent 3px, transparent 5px, rgba(0, 0, 0, .2) 5px);
	}

	.back-bg6 {
		width: 100%;
		height: 100%;
		background-color: #556;
		background-image: linear-gradient(30deg, #445 12%, transparent 12.5%, transparent 87%, #445 87.5%, #445),
			linear-gradient(150deg, #445 12%, transparent 12.5%, transparent 87%, #445 87.5%, #445),
			linear-gradient(30deg, #445 12%, transparent 12.5%, transparent 87%, #445 87.5%, #445),
			linear-gradient(150deg, #445 12%, transparent 12.5%, transparent 87%, #445 87.5%, #445),
			linear-gradient(60deg, #99a 25%, transparent 25.5%, transparent 75%, #99a 75%, #99a),
			linear-gradient(60deg, #99a 25%, transparent 25.5%, transparent 75%, #99a 75%, #99a);
		background-size: 80px 140px;
		background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
	}

	.back-bg7 {
		width: 100%;
		height: 100%;
		background-color: silver;
		background-image: linear-gradient(335deg, #b00 23px, transparent 23px),
			linear-gradient(155deg, #d00 23px, transparent 23px),
			linear-gradient(335deg, #b00 23px, transparent 23px),
			linear-gradient(155deg, #d00 23px, transparent 23px);
		background-size: 58px 58px;
		background-position: 0px 2px, 4px 35px, 29px 31px, 34px 6px;
	}

	.back-bg8 {
		width: 100%;
		height: 100%;
		background-color: #def;
		background-image: radial-gradient(closest-side, transparent 98%, rgba(0, 0, 0, .3) 99%),
			radial-gradient(closest-side, transparent 98%, rgba(0, 0, 0, .3) 99%);
		background-size: 80px 80px;
		background-position: 0 0, 40px 40px;
	}

	.back-bg9 {
		width: 100%;
		height: 100%;
		background:
			linear-gradient(324deg, #232927 4%, transparent 4%) -70px 43px,
			linear-gradient(36deg, #232927 4%, transparent 4%) 30px 43px,
			linear-gradient(72deg, #e3d7bf 8.5%, transparent 8.5%) 30px 43px,
			linear-gradient(288deg, #e3d7bf 8.5%, transparent 8.5%) -70px 43px,
			linear-gradient(216deg, #e3d7bf 7.5%, transparent 7.5%) -70px 23px,
			linear-gradient(144deg, #e3d7bf 7.5%, transparent 7.5%) 30px 23px,

			linear-gradient(324deg, #232927 4%, transparent 4%) -20px 93px,
			linear-gradient(36deg, #232927 4%, transparent 4%) 80px 93px,
			linear-gradient(72deg, #e3d7bf 8.5%, transparent 8.5%) 80px 93px,
			linear-gradient(288deg, #e3d7bf 8.5%, transparent 8.5%) -20px 93px,
			linear-gradient(216deg, #e3d7bf 7.5%, transparent 7.5%) -20px 73px,
			linear-gradient(144deg, #e3d7bf 7.5%, transparent 7.5%) 80px 73px;
		background-color: #232927;
		background-size: 100px 100px;
	}

	.back-bg10 {
		width: 100%;
		height: 100%;
		background:
			radial-gradient(circle at 50% 59%, #D2CAAB 3%, #364E27 4%, #364E27 11%, rgba(54, 78, 39, 0) 12%, rgba(54, 78, 39, 0)) 50px 0,
			radial-gradient(circle at 50% 41%, #364E27 3%, #D2CAAB 4%, #D2CAAB 11%, rgba(210, 202, 171, 0) 12%, rgba(210, 202, 171, 0)) 50px 0,
			radial-gradient(circle at 50% 59%, #D2CAAB 3%, #364E27 4%, #364E27 11%, rgba(54, 78, 39, 0) 12%, rgba(54, 78, 39, 0)) 0 50px,
			radial-gradient(circle at 50% 41%, #364E27 3%, #D2CAAB 4%, #D2CAAB 11%, rgba(210, 202, 171, 0) 12%, rgba(210, 202, 171, 0)) 0 50px,
			radial-gradient(circle at 100% 50%, #D2CAAB 16%, rgba(210, 202, 171, 0) 17%),
			radial-gradient(circle at 0% 50%, #364E27 16%, rgba(54, 78, 39, 0) 17%),
			radial-gradient(circle at 100% 50%, #D2CAAB 16%, rgba(210, 202, 171, 0) 17%) 50px 50px,
			radial-gradient(circle at 0% 50%, #364E27 16%, rgba(54, 78, 39, 0) 17%) 50px 50px;
		background-color: #63773F;
		background-size: 100px 100px;
	}

	.back-bg11 {
		width: 100%;
		height: 100%;
		background:
			radial-gradient(circle, transparent 20%, slategray 20%, slategray 80%, transparent 80%, transparent),
			radial-gradient(circle, transparent 20%, slategray 20%, slategray 80%, transparent 80%, transparent) 50px 50px,
			linear-gradient(#A8B1BB 8px, transparent 8px) 0 -4px,
			linear-gradient(90deg, #A8B1BB 8px, transparent 8px) -4px 0;
		background-color: slategray;
		background-size: 100px 100px, 100px 100px, 50px 50px, 50px 50px;
	}

	.back-bg12 {
		width: 100%;
		height: 100%;
		background-color: #FF7D9D;
		background-size: 58px 58px;
		background-position: 0px 2px, 4px 35px, 29px 31px, 33px 6px,
			0px 36px, 4px 2px, 29px 6px, 33px 30px;
		background-image:
			linear-gradient(335deg, #C90032 23px, transparent 23px),
			linear-gradient(155deg, #C90032 23px, transparent 23px),
			linear-gradient(335deg, #C90032 23px, transparent 23px),
			linear-gradient(155deg, #C90032 23px, transparent 23px),

			linear-gradient(335deg, #C90032 10px, transparent 10px),
			linear-gradient(155deg, #C90032 10px, transparent 10px),
			linear-gradient(335deg, #C90032 10px, transparent 10px),
			linear-gradient(155deg, #C90032 10px, transparent 10px);
	}

	.back-bg13 {
		width: 100%;
		height: 100%;
		background-color: #6d695c;
		background-image:
			repeating-linear-gradient(120deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .1) 1px, transparent 1px, transparent 60px),
			repeating-linear-gradient(60deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .1) 1px, transparent 1px, transparent 60px),
			linear-gradient(60deg, rgba(0, 0, 0, .1) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, .1) 75%, rgba(0, 0, 0, .1)),
			linear-gradient(120deg, rgba(0, 0, 0, .1) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, .1) 75%, rgba(0, 0, 0, .1));
		background-size: 70px 120px;
	}

	.back-bg14 {
		width: 100%;
		height: 100%;
		background:
			radial-gradient(circle closest-side at 60% 43%, #b03 26%, rgba(187, 0, 51, 0) 27%),
			radial-gradient(circle closest-side at 40% 43%, #b03 26%, rgba(187, 0, 51, 0) 27%),
			radial-gradient(circle closest-side at 42% 22%, #d35 43%, rgba(221, 51, 85, 0) 45%),
			radial-gradient(circle closest-side at 58% 22%, #d35 43%, rgba(221, 51, 85, 0) 45%),
			radial-gradient(circle closest-side at 50% 35%, #d35 32%, rgba(221, 51, 85, 0) 27%),

			radial-gradient(circle closest-side at 60% 43%, #b03 26%, rgba(187, 0, 51, 0) 27%) 50px 50px,
			radial-gradient(circle closest-side at 40% 43%, #b03 26%, rgba(187, 0, 51, 0) 27%) 50px 50px,
			radial-gradient(circle closest-side at 40% 22%, #d35 40%, rgba(221, 51, 85, 0) 45%) 52px 50px,
			radial-gradient(circle closest-side at 60% 22%, #d35 40%, rgba(221, 51, 85, 0) 45%) 48px 50px,
			radial-gradient(circle closest-side at 50% 35%, #d35 30%, rgba(221, 51, 85, 0) 37%) 50px 50px;
		background-color: #b03;
		background-size: 100px 100px;
	}

	.back-bg15 {
		width: 100%;
		height: 100%;
		background:
			radial-gradient(black 15%, transparent 16%) 0 0,
			radial-gradient(black 15%, transparent 16%) 8px 8px,
			radial-gradient(rgba(255, 255, 255, .1) 15%, transparent 20%) 0 1px,
			radial-gradient(rgba(255, 255, 255, .1) 15%, transparent 20%) 8px 9px;
		background-color: #282828;
		background-size: 16px 16px;
	}

	.back-bg16 {
		width: 100%;
		height: 100%;
		background:
			linear-gradient(27deg, #151515 5px, transparent 5px) 0 5px,
			linear-gradient(207deg, #151515 5px, transparent 5px) 10px 0px,
			linear-gradient(27deg, #222 5px, transparent 5px) 0px 10px,
			linear-gradient(207deg, #222 5px, transparent 5px) 10px 5px,
			linear-gradient(90deg, #1b1b1b 10px, transparent 10px),
			linear-gradient(#1d1d1d 25%, #1a1a1a 25%, #1a1a1a 50%, transparent 50%, transparent 75%, #242424 75%, #242424);
		background-color: #131313;
		background-size: 20px 20px;
	}

	.back-bg17 {
		width: 100%;
		height: 100%;
		background:
			radial-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .15) 30%, rgba(255, 255, 255, .3) 32%, rgba(255, 255, 255, 0) 33%) 0 0,
			radial-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .1) 11%, rgba(255, 255, 255, .3) 13%, rgba(255, 255, 255, 0) 14%) 0 0,
			radial-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .2) 17%, rgba(255, 255, 255, .43) 19%, rgba(255, 255, 255, 0) 20%) 0 110px,
			radial-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .2) 11%, rgba(255, 255, 255, .4) 13%, rgba(255, 255, 255, 0) 14%) -130px -170px,
			radial-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .2) 11%, rgba(255, 255, 255, .4) 13%, rgba(255, 255, 255, 0) 14%) 130px 370px,
			radial-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .1) 11%, rgba(255, 255, 255, .2) 13%, rgba(255, 255, 255, 0) 14%) 0 0,
			linear-gradient(45deg, #343702 0%, #184500 20%, #187546 30%, #006782 40%, #0b1284 50%, #760ea1 60%, #83096e 70%, #840b2a 80%, #b13e12 90%, #e27412 100%);
		background-size: 470px 470px, 970px 970px, 410px 410px, 610px 610px, 530px 530px, 730px 730px, 100% 100%;
	}

	.back-bg18 {
		width: 100%;
		height: 100%;
		background-color: black;
		background-image:
			radial-gradient(white, rgba(255, 255, 255, .2) 2px, transparent 40px),
			radial-gradient(white, rgba(255, 255, 255, .15) 1px, transparent 30px),
			radial-gradient(white, rgba(255, 255, 255, .1) 2px, transparent 40px),
			radial-gradient(rgba(255, 255, 255, .4), rgba(255, 255, 255, .1) 2px, transparent 30px);
		background-size: 550px 550px, 350px 350px, 250px 250px, 150px 150px;
		background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
	}

	.back-bg19 {
		width: 100%;
		height: 100%;
		background:
			linear-gradient(135deg, #708090 21px, #d9ecff 22px, #d9ecff 24px, transparent 24px, transparent 67px, #d9ecff 67px, #d9ecff 69px, transparent 69px),
			linear-gradient(225deg, #708090 21px, #d9ecff 22px, #d9ecff 24px, transparent 24px, transparent 67px, #d9ecff 67px, #d9ecff 69px, transparent 69px)0 64px;
		background-color: #708090;
		background-size: 64px 128px;
	}

	.back-bg20 {
		width: 100%;
		height: 100%;
		background:
			linear-gradient(135deg, #ECEDDC 25%, transparent 25%) -50px 0,
			linear-gradient(225deg, #ECEDDC 25%, transparent 25%) -50px 0,
			linear-gradient(315deg, #ECEDDC 25%, transparent 25%),
			linear-gradient(45deg, #ECEDDC 25%, transparent 25%);
		background-size: 100px 100px;
		background-color: #EC173A;
	}

	.back-bg21 {
		width: 100%;
		height: 100%;
		background:
			linear-gradient(45deg, #92baac 45px, transparent 45px)64px 64px,
			linear-gradient(45deg, #92baac 45px, transparent 45px, transparent 91px, #e1ebbd 91px, #e1ebbd 135px, transparent 135px),
			linear-gradient(-45deg, #92baac 23px, transparent 23px, transparent 68px, #92baac 68px, #92baac 113px, transparent 113px, transparent 158px, #92baac 158px);
		background-color: #e1ebbd;
		background-size: 128px 128px;
	}

	.back-bg22 {
		width: 100%;
		height: 100%;
		background: #36c;
		background:
			linear-gradient(115deg, transparent 75%, rgba(255, 255, 255, .8) 75%) 0 0,
			linear-gradient(245deg, transparent 75%, rgba(255, 255, 255, .8) 75%) 0 0,
			linear-gradient(115deg, transparent 75%, rgba(255, 255, 255, .8) 75%) 7px -15px,
			linear-gradient(245deg, transparent 75%, rgba(255, 255, 255, .8) 75%) 7px -15px,
			#36c;
		background-size: 15px 30px;
	}

	.back-bg23 {
		width: 100%;
		height: 100%;
		background:
			linear-gradient(63deg, #999 23%, transparent 23%) 7px 0,
			linear-gradient(63deg, transparent 74%, #999 78%),
			linear-gradient(63deg, transparent 34%, #999 38%, #999 58%, transparent 62%),
			#444;
		background-size: 16px 48px;
	}

	.back-bg24 {
        width: 100%;
        height: 100%;
        background: radial-gradient(ellipse farthest-side at 76% 77%, rgba(245, 228, 212, 0.25) 4%, rgba(255, 255, 255, 0) calc(4% + 1px)), radial-gradient(circle at 76% 40%, #fef6ec 4%, rgba(255, 255, 255, 0) 4.18%), linear-gradient(135deg, #ff0000 0%, #000036 100%), radial-gradient(ellipse at 28% 0%, #ffcfac 0%, rgba(98, 149, 144, 0.5) 100%), linear-gradient(180deg, #cd6e8a 0%, #f5eab0 69%, #d6c8a2 70%, #a2758d 100%);
        background-blend-mode: normal, normal, screen, overlay, normal;
	}
</style>